package cn.anjubao.cp.api.mapper;

import cn.anjubao.cp.api.dto.CountFeeSlotsDto;
import cn.anjubao.cp.api.dto.SlotTypeDto;
import cn.anjubao.cp.api.entity.ParkingLotSlot;
import com.anjubao.parking.municipal.parkinglot.dto.ParkingLotDto;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface ParkingLotSlotMapper extends BaseMapper<ParkingLotSlot> {

    SlotTypeDto getParkingLotTypeBySlotNum(String slotNum);

    List<CountFeeSlotsDto> countSlot(List<ParkingLotDto> lotDtos);
}
